package com.nix.web.databases.mapper.user;

import com.nix.web.databases.CurdFactory;
import com.nix.web.databases.pojo.user.Permissions;
import com.nix.web.databases.pojo.user.Resources;
import com.nix.web.databases.pojo.user.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhangpei
 * @Email zhangpe0312@qq.com
 * @day 2017/11/2 13:22
 * @Use
 */
@Repository
public interface PermissionsMapper extends CurdFactory<Permissions> {
   List<Permissions> getPermissionAllByRoleID(@Param("rid")Integer rid,@Param("available")Integer available) throws Exception;
}
